package com.alks.function.data.dto.stockdept.pcfactorystockwork;

import com.alks.entity.data.i18n.TranslateField;
import com.alks.entity.data.i18n.TranslateFieldSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author MS
 * @since 2024/7/12下午3:18
 */
@Data
public class CutScanCodeDto {

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "部位")
    private String partName;

    @JsonSerialize(using = TranslateFieldSerializer.class)
    @ApiModelProperty(value = "部位")
    private String partName2;

    @ApiModelProperty(value = "号码")
    private BigDecimal sizeNo;

    @ApiModelProperty(value = "批次")
    private String batchNo;

    @ApiModelProperty(value = "轮次")
    private BigDecimal lsNo;

    @ApiModelProperty(value = "总双数")
    private BigDecimal lsQty;

    @ApiModelProperty(value = "已收发数")
    private BigDecimal actQty;

    @ApiModelProperty(value = "欠数")
    private BigDecimal shortQty;

}
